require("../../../utils/function.js");

var n = getApp(), o = require("../../../api.js");

Page({
    data: {
        info: {}
    },
    onLoad: function(n) {
        this.getInfo(n.id);
    },
    getInfo: function(t) {
        var e = this;
        n.request({
            url: o.wallet.getInfo,
            method: "post",
            data: {
                id: t
            },
            success: function(n) {
                e.setData({
                    info: n.data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});